package edu.ntu.cloudroid.model.function.stats;

import java.util.List;

import edu.ntu.cloudroid.model.data.AbstractData;
import edu.ntu.cloudroid.model.data.StatData;

public class CountFunction implements IDataStats{

	@Override
	public Object getStats(List<AbstractData> data, Object params) {
		return new StatData(data.size());
	}
		
}
